package com.example.mycarcalling.dao;

import com.example.mycarcalling.bean.Guide;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface GuideMapper {

    int deleteByPrimaryKey(Long guideId);

    int insert(Guide record);

    int insertSelective(Guide record);

    Guide selectByPrimaryKey(Long guideId);

    int updateByPrimaryKeySelective(Guide record);

    int updateByPrimaryKey(Guide record);

    Guide selectGuideByOrder(Long orderId);

    Guide selectGuideByOrderDriver(Long orderId);

}